Jayce = {
    'first name': 'Jayce',
    'last name': 'Tails',
    'occuptation': 'scientist',
    'hobbies': ['running', 'swimming', 'play the computer games']
}

print(f'the last name of Jayce: {Jayce["last name"]}')

# 添加键值对
Jayce['gender'] = 'male'

# 修改键值对
Jayce['occuptation'] = 'MP'

# 删除键值对
del Jayce['gender']

# 遍历
for k, v in Jayce.items():
    print(f'{k}: {v}')


# 遍历键
for k in Jayce.keys():
    print(k)
